package com.aya.simple.service;

import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;
import org.springframework.stereotype.Service;

@Scope(value = "session", proxyMode = ScopedProxyMode.INTERFACES)
@Service
public class SessionService implements ISessionService{
    @Override
    public void sayHello() {
        System.out.println("你好");
    }
}
